package codeflyer.server;

import java.util.HashMap;
import java.util.Map;

import codeFlyer.web.api.HttpSession;

/**
 * @author CodeFlyer
 * @date May 10, 2020
 * @version 1.0
 */

public class Session implements HttpSession{

	private Map<String, Object> session = new HashMap<>();

	public Map<String, Object> getSession() {
		return session;
	}
	
	public void setAttribute(String string,Object object) {
		session.put(string, object);
	}
	
	public Object getAttribute(String string) {
		return session.get(string);
	}
}


